using System.ComponentModel.DataAnnotations;
using SupplierCustomerManagement.Domain.Entities;

namespace SupplierCustomerManagement.Domain.ReportForms
{
    /// <summary>
    /// 妊娠检查记录实体
    /// 用于记录母羊的妊娠检查情况
    /// </summary>
    public class PregnancyCheck : BaseEntity
    {
        /// <summary>
        /// 配种记录ID
        /// </summary>
        [Required]
        public int BreedingId { get; set; }

        /// <summary>
        /// 检查日期
        /// </summary>
        [Required]
        public DateTime CheckDate { get; set; }

        /// <summary>
        /// 检查方法
        /// </summary>
        [StringLength(20)]
        public string? CheckMethod { get; set; }

        /// <summary>
        /// 检查结果（怀孕/未孕/流产）
        /// </summary>
        [StringLength(20)]
        public string? CheckResult { get; set; }

        /// <summary>
        /// 妊娠周数
        /// </summary>
        public int? GestationWeek { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Notes { get; set; }
    }
}
